/*
 * $Id: Page.java
 * Created on 2004-12-30 13:54:48
 */
package cn.donave.framework.pageable;

/**
 * 
 * @author Duhengfei
 * @version $Revision: 2.0
 */
public final class Paging {
	
	private int currentPage = 1;

	private int pageRange = 20;

	private int totalPage = 0;

	private long countResult = 0;

	public Paging() {

	}

	/**
	 * @return Returns the countResult.
	 */
	public long getCountResult() {
		return countResult;
	}
	/**
	 * @param countResult The countResult to set.
	 */
	public void setCountResult(long countResult) {
		this.countResult = countResult;
	}
	/**
	 * @return Returns the currentPage.
	 */
	public int getCurrentPage() {
		return currentPage;
	}
	/**
	 * @param currentPage The currentPage to set.
	 */
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	/**
	 * @return Returns the pageRange.
	 */
	public int getPageRange() {
		return pageRange;
	}
	/**
	 * @param pageRange The pageRange to set.
	 */
	public void setPageRange(int pageRange) {
		this.pageRange = pageRange;
	}
	/**
	 * @return Returns the totalPage.
	 */
	public int getTotalPage() {
		return totalPage;
	}
	/**
	 * @param totalPage The totalPage to set.
	 */
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
}